package com.lagou.common;

public class Metrics {
    private String nettyIp;
    private int nettyPort;
    private long start;
    private long cost;

    public Metrics(String nettyIp, int nettyPort, long start, long cost) {
        this.nettyIp = nettyIp;
        this.nettyPort = nettyPort;
        this.start = start;
        this.cost = cost;
    }

    public Metrics(String nettyIp, int nettyPort, long start) {
        this.nettyIp = nettyIp;
        this.nettyPort = nettyPort;
        this.start = start;
    }

    public String getNettyIp() {
        return nettyIp;
    }

    public void setNettyIp(String nettyIp) {
        this.nettyIp = nettyIp;
    }

    public int getNettyPort() {
        return nettyPort;
    }

    public void setNettyPort(int nettyPort) {
        this.nettyPort = nettyPort;
    }

    public long getStart() {
        return start;
    }

    public void setStart(long start) {
        this.start = start;
    }

    public long getCost() {
        return cost;
    }

    public void setCost(long cost) {
        this.cost = cost;
    }
}
